package com.work.order.feign.fallback;

import com.work.order.feign.StorageFeignClient;
import org.springframework.stereotype.Component;

//@Component
public class StorageFeignFallback implements StorageFeignClient {

    @Override
    public Boolean deduct(String commodityCode, Integer count) {
        System.out.println("---库存兜底---");
        return false;
    }
}